#!/bin/bash

. $LKP_SRC/lib/apache.sh

set_apache_name
set_apache_path

#
# MaxKeepAliveRequests: The maximum number of requests to allow
# during a persistent connection. Set to 0 to allow an unlimited
# amount for maximum performance.
#
sed -i -e 's/^MaxKeepAliveRequests.*/MaxKeepAliveRequests 0/' "$APACHE_CONF"

# start apache web server
systemctl restart "$APACHE_NAME"
